#encoding:utf-8

OPR_BUY="0B"
OPR_SELL="0S"

STATUS_NORMAL="1"
STATUS_ABNORMAL="0"


ORDER_RESEND_KEY="realTrans_orderResend"
ORDER_LISTEN_KEY="realTrans_orderListen"
ORDER_SAVE_KEY="realTrans_orderSave"
SUSPENSION_SYM_LISTEN_KEY="realTrans_suspensionSymListen"
ORDER_LISTEN_TIMES_KEY="realTrans_orderListenTimes"

MAP_USERINFOS_KEY="realTrans_userInfos"
MAP_REALTRANSACTIONMAPS_KEY="realTrans_realTransactionMaps"

ORDER_SENDER_STRATEGY="00" #策略下单
ORDER_SENDER_HAND="01" #人工券商终端下单
ORDER_SENDER_HIGHSEND="02" #高送配
ORDER_SENDER_DELIST="03" #退市

QUERY_ORDERS_MODE_ALL="0" #所有委托
QUERY_ORDERS_MODE_CANCELABLE="1" #可撤委托
QUERY_ORDERS_MODE_MATCHED="2" #已成交委托
QUERY_ORDERS_MODE_INVALID="3" #非法委托
QUERY_ORDERS_MODE_CANCELED="5" #已撤销委托

FUND_FLOW_IN="1" #从证券转入策略
FUND_FLOW_OUT="0" #从策略转出证券